package model;

public class Teacher {
    private String tno,tName,tSex,prof,majorId;

    public Teacher(String tno, String tName, String tSex, String prof, String majorId) {
        this.tno = tno;
        this.tName = tName;
        this.tSex = tSex;
        this.prof = prof;
        this.majorId = majorId;
    }

    public Teacher() {

    }

    public String getTno() {
        return tno;
    }

    public void setTno(String tno) {
        this.tno = tno;
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }

    public String gettSex() {
        return tSex;
    }

    public void settSex(String tSex) {
        this.tSex = tSex;
    }

    public String getProf() {
        return prof;
    }

    public void setProf(String prof) {
        this.prof = prof;
    }

    public String getMajorId() {
        return majorId;
    }

    public void setMajorId(String majorId) {
        this.majorId = majorId;
    }

    @java.lang.Override
    public java.lang.String toString() {
        return "teacher{" +
                "tno='" + tno + '\'' +
                ", tName='" + tName + '\'' +
                ", tSex='" + tSex + '\'' +
                ", prof='" + prof + '\'' +
                ", majorId='" + majorId + '\'' +
                '}';
    }
}
